<h1>Listing comments</h1>


  <div>
  </div>
  
<% for comment in @comments %>
  <div>
  <% for column in Comment.content_columns %>
    <div><%=h comment.send(column.name) %></div>
  <% end %>
  </div>
<% end %>


<%#= link_to 'Previous page', { :page => @comment_pages.current.previous } if @comment_pages.current.previous %>
<%#= link_to 'Next page', { :page => @comment_pages.current.next } if @comment_pages.current.next %> 

<br />

<%#= link_to 'New comment', :action => 'new' %>
